package com.yike.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yike.user.entity.MessageReminder;
import com.yike.user.param.MessageReminderPageParam;

import com.yike.user.vo.MessageReminderInfoVo;
import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;

/**
 * 消息提醒表 Mapper 接口
 *
 * @author Sakura
 * @since 2024-09-24
 */
@Mapper
public interface MessageReminderMapper extends BaseMapper<MessageReminder> {

    IPage<MessageReminderInfoVo> getMessageReminderList(@Param("page") Page page, @Param("userId") Long userId,
                                                        @Param("param") MessageReminderPageParam param);


}
